import java.util.ArrayList;
import java.util.List;

/**
 * @Author And(yanqingyuan)
 * @Date 2022/8/12 14:10
 * @Details
 */
public class test {
    public static void main(String[] args) {
        Float f=0.0F;
        System.out.println(0==f);

        List<String> name = toSplitLeaderName("文化，哈哈哈，真好,nihao1asf");
        for (String s : name) {
            System.out.println(s);
        }
    }
    public static List<String> toSplitLeaderName(String s){

        char[] chars = s.toCharArray();
        List<String> list=new ArrayList<>();
        StringBuffer str=new StringBuffer();
        for (int i = 0; i < chars.length; i++) {
            if(chars[i] == ',' || chars[i] == '，'){
                str = new StringBuffer();
                continue;
            }
            str.append(chars[i]);
        }
        return list;
    }
}
